//
//  BaseView.h
//  GK
//
//  Created by Seven on 2018/12/13.
//  Copyright © 2018 Seven. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef enum _custom_action_type_ {
    cat_normal=10000,
    
    cat_cancel,
    cat_done,
    
    cat_tap,
    cat_tip,
    cat_del,
    
    cat_update,
    cat_update_frame,
    cat_update_time,
    cat_update_sticker,
    
    cat_click,
    cat_reward_success,
    
    cat_show,
    cat_hide,
    cat_close,
    cat_share,
    
    cat_onFullscreen,
    cat_exitFullscreen,
    
    cat_like,
    cat_dislike,
    cat_block,
    cat_report,
    cat_reply,
    cat_comment,
    cat_send,
    cat_seek,
    cat_search,
    
    cat_fail,
    cat_success,
    
    cat_play,
    cat_previous,
    cat_next,
    cat_completion,
    
    cat_begin,
    cat_add,
    
    cat_follow,
    cat_join,
    
    cat_refresh_data,
    cat_load_more,
    cat_click_cell,
    cat_click_cell_btn,
    
    cat_change_scroll,
    cat_dragging,
    cat_scrolling,
    cat_begin_dragging,
    cat_end_dragging,
    cat_will_end_dragging,
    cat_end_decelerating,
    cat_clipboard,
    
    cat_clip,
    cat_story,
    
    cat_logo,
    cat_list,
    cat_exit,
    cat_skip,
    
    cat_change_hidden,
    
    cat_change_clip,
    cat_change_speed,
    cat_change_pause,
    cat_more=20000,
    
}CustomActionType;

typedef void (^CustomAction)(id _Nullable obj, CustomActionType idx);

NS_ASSUME_NONNULL_BEGIN

@interface BaseView : UIView

@property(nonatomic, copy)CustomAction customAction;//自定义block

- (void)initViews;

@end

NS_ASSUME_NONNULL_END
